﻿using SportTraining.Core.Domain;

namespace SportTraining.MVVM.ViewModel.Impl
{
    public class PriceItemViewModel : ViewModelBase<PriceItemViewModel>, IPriceItemViewModel
    {
        #region Implementation of IPriceItemViewModel

        public PriceItemViewModel(IPrice priceItem)
        {
            Price = priceItem;
        }

        public IPrice Price { get; private set; }

        #endregion

        public override string ToString()
        {
            return Price.ToString();
        }
    }
}